package cn.bdqn.service;

import cn.bdqn.domain.Hospitalized;

import java.util.List;

public interface HospitalizedService {


    void save(Integer bunkId, String registrationId, String recipeId, Integer floodId);

    List<Hospitalized> queryAllHospDayAndID();

    void modifyHospDayPlus1ById();

    void modifyStatusByID(Integer id);

    /**
     * 根据病人名字查询
     * @param name
     * @return
     */
    List<Hospitalized> queryByNameAndRegistrationId(String name, String registrationId);

    Hospitalized queryById(Integer id);

    List<Hospitalized> queryHospitalizedList();

    List<Hospitalized> queryHospitalizedByRegistrationIdAndName(String registrationId, String name);

}
